#include "stdafx.h"
#include "RenderableObject.h"


CRenderableObject::CRenderableObject()
{
}


CRenderableObject::~CRenderableObject()
{
}

void CRenderableObject::Update(LPDIRECT3DDEVICE9 g_pd3dDevice)
{
	if (!isOn)
	{
		return ;
	}
	if (isOn && !isInitialize)
	{
		Initialize(g_pd3dDevice);
	}
}

bool CRenderableObject::Initialize(LPDIRECT3DDEVICE9 g_pd3dDevice)
{
	return false;
}

void CRenderableObject::Render(LPDIRECT3DDEVICE9   g_pd3dDevice)
{
	if (!isOn)
	{
		return;
	}
	if (isOn && isInitialize)
	{
	}
}
